home *** CD-ROM | disk | FTP | other *** search
/ Aminet 21 / Aminet 21 (1997)(GTI - Schatztruhe)[!][Oct 1997].iso / Aminet / comm / net / AmiComSys.lha / AmiComSys / rexx / Ping.rexx < prev    next >
Encoding:
OS/2 REXX Batch file  |  1997-07-29  |  537 b   |  18 lines

  1. /* ARexx script to Ping someone */
  2. /* For use with AmiComSys 1.12+ */
  3. /* Ping must be in the AMITCP:bin directory */
  4.  
  5. ADDRESS AMICOMSYS;
  6. OPTIONS RESULTS;
  7.  
  8. GET stem info. CLIENTLIST;
  9. /* "stem info." inserts the results to the structure 'info.'. */
  10. /* "var s" would have inserted all the results to one string in s. */
  11. /* "CLIENTLIST": We want to read the client list information. */
  12. s=info.selected;
  13. ADDRESS COMMAND "AMITCP:bin/Ping " info.hostnames.s;
  14. /* To start another application just change ping to any other
  15. program name */
  16.  
  17. EXIT;
  18.